﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FluentValidation.Attributes;
using Nop.Web.Framework.Mvc;
using Nop.Web.Validators.Customer;
using Nop.Web.Framework;
using System.Web.Mvc;

namespace Nop.Web.Models.Customer
{
    public partial class CustomerMessageModel : BaseNopEntityModel
    {

        public CustomerMessageModel()
        {
            this.CustomerMessages = new List<CustomerMessageModel>();
        }
        [NopResourceDisplayName("Message.Fields.Body")]
        [AllowHtml]
        public string Body { get; set; }

        public bool Published { get; set; }

        public int CustomerId { get; set; }

        public DateTime CreatedOnUtc { get; set; }

        public CustomerNavigationModel NavigationModel { get; set; }

        public List<CustomerMessageModel> CustomerMessages;

        public CustomerInfoModel CustomerModel { get; set; }

        public int TopicPageSize { get; set; }
        public int TopicTotalRecords { get; set; }
        public int TopicPageIndex { get; set; }
    }
}